package com.jiezhuo.service.impl.jw;

import com.jiezhuo.entity.jw.JwVo;
import com.jiezhuo.entity.jw.JwXqKskc;
import com.jiezhuo.mapper.center.JwXqKskcMapper;
import com.jiezhuo.service.jw.JwXqKskcService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jiezhuo.utils.R;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.HashMap;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author com.jiezhuo
 * @since 2024-06-15
 */
@Service
public class JwXqKskcServiceImpl extends ServiceImpl<JwXqKskcMapper, JwXqKskc> implements JwXqKskcService {

    @Override
    public R getIsNotSetSubject(JwVo jwVo) {
        ArrayList<HashMap<String,String >> list= this.getBaseMapper().getIsNotSetSubject(jwVo);
        return R.ok().data("list",list);
    }

    @Override
    public R selectTeacherSubject(JwVo jwVo) {
        ArrayList<HashMap<String,Object>> list= this.getBaseMapper().selectTeacherSubject(jwVo);
        return R.ok().data("list",list);
    }
}
